package com.ntv.presentation.spring.web.video;

import java.util.HashMap;
import java.util.Map;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.ntv.service.video.IVideoAppService;

@Controller
@RequestMapping("/videoshome.html")
public class VideoHomeController {
	
	private static final Logger logger = Logger.getLogger(VideoHomeController.class);
	
	@Autowired
	private IVideoAppService videoAppService;
	
	public void setVideoAppService(IVideoAppService videoAppService) {
		this.videoAppService = videoAppService;
	}

	@RequestMapping(method = RequestMethod.GET)
	public ModelAndView form(Model modelll) throws Exception   
	{			
		Map model = new HashMap();		
		ModelAndView mav = new ModelAndView("home.video", model);
		return mav;
	}

}
